package com.sam

class StringReplace {
    fun main() {
        val str = "【Bugfix-MTVE-56】"
        val str2 = "【Bugfix-MTXX-121287】"

        val rx = Regex("[A-Z]+\\-\\d+】")

        print(str.replace(rx, "$1 $2"))

    }


}